package sanshui.system.trade.db.entity;

import java.util.ArrayList;
import java.util.List;

public class TradeAccountTblExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TradeAccountTblExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAccIdIsNull() {
            addCriterion("acc_id is null");
            return (Criteria) this;
        }

        public Criteria andAccIdIsNotNull() {
            addCriterion("acc_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccIdEqualTo(String value) {
            addCriterion("acc_id =", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotEqualTo(String value) {
            addCriterion("acc_id <>", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdGreaterThan(String value) {
            addCriterion("acc_id >", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdGreaterThanOrEqualTo(String value) {
            addCriterion("acc_id >=", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdLessThan(String value) {
            addCriterion("acc_id <", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdLessThanOrEqualTo(String value) {
            addCriterion("acc_id <=", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdLike(String value) {
            addCriterion("acc_id like", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotLike(String value) {
            addCriterion("acc_id not like", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdIn(List<String> values) {
            addCriterion("acc_id in", values, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotIn(List<String> values) {
            addCriterion("acc_id not in", values, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdBetween(String value1, String value2) {
            addCriterion("acc_id between", value1, value2, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotBetween(String value1, String value2) {
            addCriterion("acc_id not between", value1, value2, "accId");
            return (Criteria) this;
        }

        public Criteria andCashValueIsNull() {
            addCriterion("cash_value is null");
            return (Criteria) this;
        }

        public Criteria andCashValueIsNotNull() {
            addCriterion("cash_value is not null");
            return (Criteria) this;
        }

        public Criteria andCashValueEqualTo(String value) {
            addCriterion("cash_value =", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueNotEqualTo(String value) {
            addCriterion("cash_value <>", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueGreaterThan(String value) {
            addCriterion("cash_value >", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueGreaterThanOrEqualTo(String value) {
            addCriterion("cash_value >=", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueLessThan(String value) {
            addCriterion("cash_value <", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueLessThanOrEqualTo(String value) {
            addCriterion("cash_value <=", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueLike(String value) {
            addCriterion("cash_value like", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueNotLike(String value) {
            addCriterion("cash_value not like", value, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueIn(List<String> values) {
            addCriterion("cash_value in", values, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueNotIn(List<String> values) {
            addCriterion("cash_value not in", values, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueBetween(String value1, String value2) {
            addCriterion("cash_value between", value1, value2, "cashValue");
            return (Criteria) this;
        }

        public Criteria andCashValueNotBetween(String value1, String value2) {
            addCriterion("cash_value not between", value1, value2, "cashValue");
            return (Criteria) this;
        }

        public Criteria andInitValueIsNull() {
            addCriterion("init_value is null");
            return (Criteria) this;
        }

        public Criteria andInitValueIsNotNull() {
            addCriterion("init_value is not null");
            return (Criteria) this;
        }

        public Criteria andInitValueEqualTo(String value) {
            addCriterion("init_value =", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotEqualTo(String value) {
            addCriterion("init_value <>", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueGreaterThan(String value) {
            addCriterion("init_value >", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueGreaterThanOrEqualTo(String value) {
            addCriterion("init_value >=", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueLessThan(String value) {
            addCriterion("init_value <", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueLessThanOrEqualTo(String value) {
            addCriterion("init_value <=", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueLike(String value) {
            addCriterion("init_value like", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotLike(String value) {
            addCriterion("init_value not like", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueIn(List<String> values) {
            addCriterion("init_value in", values, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotIn(List<String> values) {
            addCriterion("init_value not in", values, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueBetween(String value1, String value2) {
            addCriterion("init_value between", value1, value2, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotBetween(String value1, String value2) {
            addCriterion("init_value not between", value1, value2, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitTimeIsNull() {
            addCriterion("init_time is null");
            return (Criteria) this;
        }

        public Criteria andInitTimeIsNotNull() {
            addCriterion("init_time is not null");
            return (Criteria) this;
        }

        public Criteria andInitTimeEqualTo(String value) {
            addCriterion("init_time =", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeNotEqualTo(String value) {
            addCriterion("init_time <>", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeGreaterThan(String value) {
            addCriterion("init_time >", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeGreaterThanOrEqualTo(String value) {
            addCriterion("init_time >=", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeLessThan(String value) {
            addCriterion("init_time <", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeLessThanOrEqualTo(String value) {
            addCriterion("init_time <=", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeLike(String value) {
            addCriterion("init_time like", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeNotLike(String value) {
            addCriterion("init_time not like", value, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeIn(List<String> values) {
            addCriterion("init_time in", values, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeNotIn(List<String> values) {
            addCriterion("init_time not in", values, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeBetween(String value1, String value2) {
            addCriterion("init_time between", value1, value2, "initTime");
            return (Criteria) this;
        }

        public Criteria andInitTimeNotBetween(String value1, String value2) {
            addCriterion("init_time not between", value1, value2, "initTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andAccNameIsNull() {
            addCriterion("acc_name is null");
            return (Criteria) this;
        }

        public Criteria andAccNameIsNotNull() {
            addCriterion("acc_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccNameEqualTo(String value) {
            addCriterion("acc_name =", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameNotEqualTo(String value) {
            addCriterion("acc_name <>", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameGreaterThan(String value) {
            addCriterion("acc_name >", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameGreaterThanOrEqualTo(String value) {
            addCriterion("acc_name >=", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameLessThan(String value) {
            addCriterion("acc_name <", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameLessThanOrEqualTo(String value) {
            addCriterion("acc_name <=", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameLike(String value) {
            addCriterion("acc_name like", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameNotLike(String value) {
            addCriterion("acc_name not like", value, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameIn(List<String> values) {
            addCriterion("acc_name in", values, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameNotIn(List<String> values) {
            addCriterion("acc_name not in", values, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameBetween(String value1, String value2) {
            addCriterion("acc_name between", value1, value2, "accName");
            return (Criteria) this;
        }

        public Criteria andAccNameNotBetween(String value1, String value2) {
            addCriterion("acc_name not between", value1, value2, "accName");
            return (Criteria) this;
        }

        public Criteria andAccDescIsNull() {
            addCriterion("acc_desc is null");
            return (Criteria) this;
        }

        public Criteria andAccDescIsNotNull() {
            addCriterion("acc_desc is not null");
            return (Criteria) this;
        }

        public Criteria andAccDescEqualTo(String value) {
            addCriterion("acc_desc =", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotEqualTo(String value) {
            addCriterion("acc_desc <>", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescGreaterThan(String value) {
            addCriterion("acc_desc >", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescGreaterThanOrEqualTo(String value) {
            addCriterion("acc_desc >=", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescLessThan(String value) {
            addCriterion("acc_desc <", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescLessThanOrEqualTo(String value) {
            addCriterion("acc_desc <=", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescLike(String value) {
            addCriterion("acc_desc like", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotLike(String value) {
            addCriterion("acc_desc not like", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescIn(List<String> values) {
            addCriterion("acc_desc in", values, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotIn(List<String> values) {
            addCriterion("acc_desc not in", values, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescBetween(String value1, String value2) {
            addCriterion("acc_desc between", value1, value2, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotBetween(String value1, String value2) {
            addCriterion("acc_desc not between", value1, value2, "accDesc");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanIsNull() {
            addCriterion("buy_fee_rate_quan is null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanIsNotNull() {
            addCriterion("buy_fee_rate_quan is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanEqualTo(String value) {
            addCriterion("buy_fee_rate_quan =", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotEqualTo(String value) {
            addCriterion("buy_fee_rate_quan <>", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanGreaterThan(String value) {
            addCriterion("buy_fee_rate_quan >", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanGreaterThanOrEqualTo(String value) {
            addCriterion("buy_fee_rate_quan >=", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanLessThan(String value) {
            addCriterion("buy_fee_rate_quan <", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanLessThanOrEqualTo(String value) {
            addCriterion("buy_fee_rate_quan <=", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanLike(String value) {
            addCriterion("buy_fee_rate_quan like", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotLike(String value) {
            addCriterion("buy_fee_rate_quan not like", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanIn(List<String> values) {
            addCriterion("buy_fee_rate_quan in", values, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotIn(List<String> values) {
            addCriterion("buy_fee_rate_quan not in", values, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanBetween(String value1, String value2) {
            addCriterion("buy_fee_rate_quan between", value1, value2, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotBetween(String value1, String value2) {
            addCriterion("buy_fee_rate_quan not between", value1, value2, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanIsNull() {
            addCriterion("sell_fee_rate_quan is null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanIsNotNull() {
            addCriterion("sell_fee_rate_quan is not null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanEqualTo(String value) {
            addCriterion("sell_fee_rate_quan =", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotEqualTo(String value) {
            addCriterion("sell_fee_rate_quan <>", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanGreaterThan(String value) {
            addCriterion("sell_fee_rate_quan >", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanGreaterThanOrEqualTo(String value) {
            addCriterion("sell_fee_rate_quan >=", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanLessThan(String value) {
            addCriterion("sell_fee_rate_quan <", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanLessThanOrEqualTo(String value) {
            addCriterion("sell_fee_rate_quan <=", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanLike(String value) {
            addCriterion("sell_fee_rate_quan like", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotLike(String value) {
            addCriterion("sell_fee_rate_quan not like", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanIn(List<String> values) {
            addCriterion("sell_fee_rate_quan in", values, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotIn(List<String> values) {
            addCriterion("sell_fee_rate_quan not in", values, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanBetween(String value1, String value2) {
            addCriterion("sell_fee_rate_quan between", value1, value2, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotBetween(String value1, String value2) {
            addCriterion("sell_fee_rate_quan not between", value1, value2, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeIsNull() {
            addCriterion("buy_fixed_fee is null");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeIsNotNull() {
            addCriterion("buy_fixed_fee is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeEqualTo(String value) {
            addCriterion("buy_fixed_fee =", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotEqualTo(String value) {
            addCriterion("buy_fixed_fee <>", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeGreaterThan(String value) {
            addCriterion("buy_fixed_fee >", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeGreaterThanOrEqualTo(String value) {
            addCriterion("buy_fixed_fee >=", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeLessThan(String value) {
            addCriterion("buy_fixed_fee <", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeLessThanOrEqualTo(String value) {
            addCriterion("buy_fixed_fee <=", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeLike(String value) {
            addCriterion("buy_fixed_fee like", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotLike(String value) {
            addCriterion("buy_fixed_fee not like", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeIn(List<String> values) {
            addCriterion("buy_fixed_fee in", values, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotIn(List<String> values) {
            addCriterion("buy_fixed_fee not in", values, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeBetween(String value1, String value2) {
            addCriterion("buy_fixed_fee between", value1, value2, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotBetween(String value1, String value2) {
            addCriterion("buy_fixed_fee not between", value1, value2, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeIsNull() {
            addCriterion("sell_fixed_fee is null");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeIsNotNull() {
            addCriterion("sell_fixed_fee is not null");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeEqualTo(String value) {
            addCriterion("sell_fixed_fee =", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotEqualTo(String value) {
            addCriterion("sell_fixed_fee <>", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeGreaterThan(String value) {
            addCriterion("sell_fixed_fee >", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeGreaterThanOrEqualTo(String value) {
            addCriterion("sell_fixed_fee >=", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeLessThan(String value) {
            addCriterion("sell_fixed_fee <", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeLessThanOrEqualTo(String value) {
            addCriterion("sell_fixed_fee <=", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeLike(String value) {
            addCriterion("sell_fixed_fee like", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotLike(String value) {
            addCriterion("sell_fixed_fee not like", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeIn(List<String> values) {
            addCriterion("sell_fixed_fee in", values, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotIn(List<String> values) {
            addCriterion("sell_fixed_fee not in", values, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeBetween(String value1, String value2) {
            addCriterion("sell_fixed_fee between", value1, value2, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotBetween(String value1, String value2) {
            addCriterion("sell_fixed_fee not between", value1, value2, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andPriceAroundIsNull() {
            addCriterion("price_around is null");
            return (Criteria) this;
        }

        public Criteria andPriceAroundIsNotNull() {
            addCriterion("price_around is not null");
            return (Criteria) this;
        }

        public Criteria andPriceAroundEqualTo(String value) {
            addCriterion("price_around =", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundNotEqualTo(String value) {
            addCriterion("price_around <>", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundGreaterThan(String value) {
            addCriterion("price_around >", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundGreaterThanOrEqualTo(String value) {
            addCriterion("price_around >=", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundLessThan(String value) {
            addCriterion("price_around <", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundLessThanOrEqualTo(String value) {
            addCriterion("price_around <=", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundLike(String value) {
            addCriterion("price_around like", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundNotLike(String value) {
            addCriterion("price_around not like", value, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundIn(List<String> values) {
            addCriterion("price_around in", values, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundNotIn(List<String> values) {
            addCriterion("price_around not in", values, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundBetween(String value1, String value2) {
            addCriterion("price_around between", value1, value2, "priceAround");
            return (Criteria) this;
        }

        public Criteria andPriceAroundNotBetween(String value1, String value2) {
            addCriterion("price_around not between", value1, value2, "priceAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundIsNull() {
            addCriterion("num_around is null");
            return (Criteria) this;
        }

        public Criteria andNumAroundIsNotNull() {
            addCriterion("num_around is not null");
            return (Criteria) this;
        }

        public Criteria andNumAroundEqualTo(String value) {
            addCriterion("num_around =", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundNotEqualTo(String value) {
            addCriterion("num_around <>", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundGreaterThan(String value) {
            addCriterion("num_around >", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundGreaterThanOrEqualTo(String value) {
            addCriterion("num_around >=", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundLessThan(String value) {
            addCriterion("num_around <", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundLessThanOrEqualTo(String value) {
            addCriterion("num_around <=", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundLike(String value) {
            addCriterion("num_around like", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundNotLike(String value) {
            addCriterion("num_around not like", value, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundIn(List<String> values) {
            addCriterion("num_around in", values, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundNotIn(List<String> values) {
            addCriterion("num_around not in", values, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundBetween(String value1, String value2) {
            addCriterion("num_around between", value1, value2, "numAround");
            return (Criteria) this;
        }

        public Criteria andNumAroundNotBetween(String value1, String value2) {
            addCriterion("num_around not between", value1, value2, "numAround");
            return (Criteria) this;
        }

        public Criteria andHasDeleteIsNull() {
            addCriterion("has_delete is null");
            return (Criteria) this;
        }

        public Criteria andHasDeleteIsNotNull() {
            addCriterion("has_delete is not null");
            return (Criteria) this;
        }

        public Criteria andHasDeleteEqualTo(String value) {
            addCriterion("has_delete =", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotEqualTo(String value) {
            addCriterion("has_delete <>", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteGreaterThan(String value) {
            addCriterion("has_delete >", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("has_delete >=", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteLessThan(String value) {
            addCriterion("has_delete <", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteLessThanOrEqualTo(String value) {
            addCriterion("has_delete <=", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteLike(String value) {
            addCriterion("has_delete like", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotLike(String value) {
            addCriterion("has_delete not like", value, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteIn(List<String> values) {
            addCriterion("has_delete in", values, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotIn(List<String> values) {
            addCriterion("has_delete not in", values, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteBetween(String value1, String value2) {
            addCriterion("has_delete between", value1, value2, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andHasDeleteNotBetween(String value1, String value2) {
            addCriterion("has_delete not between", value1, value2, "hasDelete");
            return (Criteria) this;
        }

        public Criteria andAccTypeIsNull() {
            addCriterion("acc_type is null");
            return (Criteria) this;
        }

        public Criteria andAccTypeIsNotNull() {
            addCriterion("acc_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccTypeEqualTo(String value) {
            addCriterion("acc_type =", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeNotEqualTo(String value) {
            addCriterion("acc_type <>", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeGreaterThan(String value) {
            addCriterion("acc_type >", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeGreaterThanOrEqualTo(String value) {
            addCriterion("acc_type >=", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeLessThan(String value) {
            addCriterion("acc_type <", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeLessThanOrEqualTo(String value) {
            addCriterion("acc_type <=", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeLike(String value) {
            addCriterion("acc_type like", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeNotLike(String value) {
            addCriterion("acc_type not like", value, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeIn(List<String> values) {
            addCriterion("acc_type in", values, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeNotIn(List<String> values) {
            addCriterion("acc_type not in", values, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeBetween(String value1, String value2) {
            addCriterion("acc_type between", value1, value2, "accType");
            return (Criteria) this;
        }

        public Criteria andAccTypeNotBetween(String value1, String value2) {
            addCriterion("acc_type not between", value1, value2, "accType");
            return (Criteria) this;
        }

        public Criteria andPriKeyIsNull() {
            addCriterion("pri_key is null");
            return (Criteria) this;
        }

        public Criteria andPriKeyIsNotNull() {
            addCriterion("pri_key is not null");
            return (Criteria) this;
        }

        public Criteria andPriKeyEqualTo(String value) {
            addCriterion("pri_key =", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyNotEqualTo(String value) {
            addCriterion("pri_key <>", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyGreaterThan(String value) {
            addCriterion("pri_key >", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyGreaterThanOrEqualTo(String value) {
            addCriterion("pri_key >=", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyLessThan(String value) {
            addCriterion("pri_key <", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyLessThanOrEqualTo(String value) {
            addCriterion("pri_key <=", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyLike(String value) {
            addCriterion("pri_key like", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyNotLike(String value) {
            addCriterion("pri_key not like", value, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyIn(List<String> values) {
            addCriterion("pri_key in", values, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyNotIn(List<String> values) {
            addCriterion("pri_key not in", values, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyBetween(String value1, String value2) {
            addCriterion("pri_key between", value1, value2, "priKey");
            return (Criteria) this;
        }

        public Criteria andPriKeyNotBetween(String value1, String value2) {
            addCriterion("pri_key not between", value1, value2, "priKey");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoIsNull() {
            addCriterion("buy_fee_rate_guo is null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoIsNotNull() {
            addCriterion("buy_fee_rate_guo is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoEqualTo(String value) {
            addCriterion("buy_fee_rate_guo =", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotEqualTo(String value) {
            addCriterion("buy_fee_rate_guo <>", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoGreaterThan(String value) {
            addCriterion("buy_fee_rate_guo >", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoGreaterThanOrEqualTo(String value) {
            addCriterion("buy_fee_rate_guo >=", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoLessThan(String value) {
            addCriterion("buy_fee_rate_guo <", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoLessThanOrEqualTo(String value) {
            addCriterion("buy_fee_rate_guo <=", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoLike(String value) {
            addCriterion("buy_fee_rate_guo like", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotLike(String value) {
            addCriterion("buy_fee_rate_guo not like", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoIn(List<String> values) {
            addCriterion("buy_fee_rate_guo in", values, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotIn(List<String> values) {
            addCriterion("buy_fee_rate_guo not in", values, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoBetween(String value1, String value2) {
            addCriterion("buy_fee_rate_guo between", value1, value2, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotBetween(String value1, String value2) {
            addCriterion("buy_fee_rate_guo not between", value1, value2, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinIsNull() {
            addCriterion("sell_fee_rate_yin is null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinIsNotNull() {
            addCriterion("sell_fee_rate_yin is not null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinEqualTo(String value) {
            addCriterion("sell_fee_rate_yin =", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotEqualTo(String value) {
            addCriterion("sell_fee_rate_yin <>", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinGreaterThan(String value) {
            addCriterion("sell_fee_rate_yin >", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinGreaterThanOrEqualTo(String value) {
            addCriterion("sell_fee_rate_yin >=", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinLessThan(String value) {
            addCriterion("sell_fee_rate_yin <", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinLessThanOrEqualTo(String value) {
            addCriterion("sell_fee_rate_yin <=", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinLike(String value) {
            addCriterion("sell_fee_rate_yin like", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotLike(String value) {
            addCriterion("sell_fee_rate_yin not like", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinIn(List<String> values) {
            addCriterion("sell_fee_rate_yin in", values, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotIn(List<String> values) {
            addCriterion("sell_fee_rate_yin not in", values, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinBetween(String value1, String value2) {
            addCriterion("sell_fee_rate_yin between", value1, value2, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotBetween(String value1, String value2) {
            addCriterion("sell_fee_rate_yin not between", value1, value2, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoIsNull() {
            addCriterion("sell_fee_rate_guo is null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoIsNotNull() {
            addCriterion("sell_fee_rate_guo is not null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoEqualTo(String value) {
            addCriterion("sell_fee_rate_guo =", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotEqualTo(String value) {
            addCriterion("sell_fee_rate_guo <>", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoGreaterThan(String value) {
            addCriterion("sell_fee_rate_guo >", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoGreaterThanOrEqualTo(String value) {
            addCriterion("sell_fee_rate_guo >=", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoLessThan(String value) {
            addCriterion("sell_fee_rate_guo <", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoLessThanOrEqualTo(String value) {
            addCriterion("sell_fee_rate_guo <=", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoLike(String value) {
            addCriterion("sell_fee_rate_guo like", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotLike(String value) {
            addCriterion("sell_fee_rate_guo not like", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoIn(List<String> values) {
            addCriterion("sell_fee_rate_guo in", values, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotIn(List<String> values) {
            addCriterion("sell_fee_rate_guo not in", values, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoBetween(String value1, String value2) {
            addCriterion("sell_fee_rate_guo between", value1, value2, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotBetween(String value1, String value2) {
            addCriterion("sell_fee_rate_guo not between", value1, value2, "sellFeeRateGuo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}